﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
using CTP.Entitys;

namespace CTP.ComWrap
{
    [ComVisible(false)]
    public delegate void OnHistoricalOrderHandle(HistoricalOrderEventArgs e);

    [Guid("4be6cc1a-3307-468e-8381-9f01f05fb3d2")]
    public interface IHistoricalOrderEventArgs
    {
        ReturnInfo ReturnInfo { get; set; }
        Order[] Orders { get; set; }
        int RequestID { get; set; }
    }

    [Guid("c74f9025-8621-4473-9f9e-adc1e8d29d8e")]
    [ClassInterface(ClassInterfaceType.None)]
    public class HistoricalOrderEventArgs : EventArgs, IHistoricalOrderEventArgs
    {
        public ReturnInfo ReturnInfo { get; set; }
        public Order[] Orders { get; set; }
        public int RequestID { get; set; }
    }

}
